package io.github.cpearl0.daybreakcore.mixin;

import mekanism.common.tile.machine.TileEntitySolarNeutronActivator;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;

@Mixin(TileEntitySolarNeutronActivator.class)
public class TileEntitySolarNeutronActivatorMixin {
    @Inject(method = "canSeeSun", at = @At(value = "RETURN"), cancellable = true)
    public void canSeeSun(CallbackInfoReturnable<Boolean> ci) {
        ci.setReturnValue(true);
    }
}
